ObjectDB ObjectDB

Internal Website Search

21-30 of 200 resultsRefresh
67

JPA Query Structure (JPQL / Criteria)

on how to set criteria query clauses are provided as follows: Criteria SELECT (select, distinct, multiselect, array, tuple, construct). Criteria FROM (from, join, fetch). Criteria WHERE (where). Criteria GROUP BY / HAVING (groupBy, having, count, sum, avg, min, max, ...). Criteria ORDER BY (orderBy, Order, asc, desc).
67

Criteria Query From Elements

The interfaces in this group are in use for setting a criteria query FROM clause. Criteria Query ... are represented in criteria queries by descendant interfaces of the From interface: Range variables ... and its descendant interfaces: See the FROM in Criteria Queries section for more details and examples. Join
65

Strings in JPQL and Criteria Queries

operator). Criteria Query String Expressions JPQL string operators and functions (which are described above) are available also as JPA criteria query expressions. The CriteriaBuilder interface provides ... and when applicable simple Java objects as well as criteria expressions.
65

Numbers in JPQL and Criteria Queries

of any type and always returns a double value. Criteria Query Arithmetic Expressions JPQL arithmetic operators and functions (which are described above) are available also as JPA criteria query ... two operands. At least one operand must be a criteria numeric expression. The other operand
64

Date and Time in JPQL and Criteria Queries

in Criteria Queries The CriteriaBuilder interface provides three factory methods for building date ... when the query is run. Functions for extracting date and time parts are also available in criteria queries
64

Collections in JPQL and Criteria Queries

of collection, so in ObjectDB these operators are treated as synonyms. Criteria Query Collection ... criteria query expressions. The CriteriaBuilder interface provides factory methods for building
63

Criteria Query Expressions

The following interfaces are in use in representing general expressions in criteria queries: See the Query Expressions section for more details and examples.
63

Literals in JPQL and Criteria Queries

specifying another name explicitly in the @Entity's name annotation element. Criteria Query Literals
48

javax.persistence.criteria.CriteriaQuery

how to define queries using the criteria API in Chapter 4 of the ObjectDB/JPA manual. AbstractQuery<T ... javax.persistence.criteria Interface CriteriaQuery<T> Superinterfaces: AbstractQuery<T ... on the specification of the type of the criteria query object created as well as the argument to the multiselect method
44

javax.persistence.criteria.CriteriaBuilder

this API in order to work around the fact that Java generics are not compatible with varags. Since: JPA 2.0 Learn how to define queries using the criteria API in Chapter 4 of the ObjectDB/JPA manual ... javax.persistence.criteria Interface CriteriaBuilder Used to construct criteria queries, compound

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support